package cn.eng.pet.mapper;

import cn.eng.pet.domain.Pet;
import cn.eng.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BoBo
 * @since 2022-12-27
 */
public interface PetMapper extends BaseMapper<Pet> {
    //上架 修改状态
    void updateOnSaleState(@Param("id") Long id,@Param("date") Date date);
    //下架  修改状态
    void updateOffsaleState(@Param("ids") Long[] ids,@Param("date") Date date);
}
